package edu.java.lectures.lec02;

public class Main {

    public static void main(String[] args) {
	Segment2D segment1 = new Segment2D(0, 0, 0, 1);

	System.out.println("Segment 1 creation number: "
		+ segment1.getMyCreationNumber());

	Segment2D segment2 = new Segment2D(0, 0, 1, 1);

	System.out.println("Segment 2 creation number: "
		+ segment2.getMyCreationNumber());

	System.out.println("Segment 1 creation number: "
		+ segment1.getMyCreationNumber());

	System.out.println(Segment2D.SEGMENT_2D_NAME);
	System.out.println(segment1.SEGMENT_2D_NAME); // BAD PRACTISE
    }
}
